package com.fahai.web.service;

import com.fahai.common.PageVo;
import com.fahai.web.entity.DataAnalyse;
import com.fahai.web.vo.DataAnalyseQueryVO;

import java.util.List;

/**
 * Created by Lilinjun on 17/5/22.
 */
public interface DataAnalysisService {

    /**
     * 查询数据分析列表数据
     * @param dataAnalyseQueryVO
     * @param pageVo
     * @return
     */
    public PageVo findDataList(DataAnalyseQueryVO dataAnalyseQueryVO , PageVo pageVo);

    /**
     * 导出xls
     * @param dataAnalyseQueryVO
     * @param pageVo
     * @return
     */
    public PageVo findDataListXls(DataAnalyseQueryVO dataAnalyseQueryVO , PageVo pageVo);

    /**
     * 获取数据分析查询的通话记录
     * @param dataAnalyseQueryVO
     * @return
     */
    public List<DataAnalyse> getCallList(DataAnalyseQueryVO dataAnalyseQueryVO);

    /**
     * 数据分析中未服务的律师
     * @param dataAnalyseQueryVO
     * @return
     */
    public List<DataAnalyse> getLawyerList(DataAnalyseQueryVO dataAnalyseQueryVO);

    /**
     * 数据分析中未使用服务的客户
     * @param dataAnalyseQueryVO
     * @return
     */
    public List<DataAnalyse> getClientList(DataAnalyseQueryVO dataAnalyseQueryVO);

    /**
     * 查询数据分析汇总行数据
     * @param dataAnalyseQueryVO
     * @param pageVo
     * @return
     */
    public PageVo findDataSum(DataAnalyseQueryVO dataAnalyseQueryVO , PageVo pageVo);

    /**
     * 分页总数
     * @param dataAnalyseQueryVO
     * @return
     */
    public int  count(DataAnalyseQueryVO dataAnalyseQueryVO);


}
